home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 103
/
Vol 103.iso
/
games
/
starship.swf
/
scripts
/
frame_2
/
DoAction.as
Wrap
Text File
|
2010-03-13
|
2KB
|
66 lines
function submit(pGame, pDisciple, pScore0, pScore1)
{
urlSubmit = "http://www.neodelight.com/v4/submit.php";
session = "g=" + pGame + "&";
session += "d=" + pDisciple + "&";
session += "s0=" + pScore0 + "&";
session += "s1=" + pScore1;
urlSubmit += "?session=" + encrypt(session);
getURL(urlSubmit,"_blank");
}
function encrypt(pString)
{
key = "whytheheckdoyouwasteyourtimehackingthishighscorelist";
text = escape(pString);
crypt = "";
i = 0;
while(i < text.length)
{
char = text.charCodeAt(i);
shift = key.charCodeAt(i % key.length);
char += shift;
crypt += String.fromCharCode(char);
i++;
}
return escape(crypt);
}
cst = new Object();
cst.gravity = 0.1;
cst.timePerScreen = 999;
cst.slowdown = 0.995;
cst.maxObjects = 20;
cst.maxMonster = 10;
temp = new Object();
code = new Array();
code[1] = "savepoint";
code[4] = "easy";
code[6] = "sputnik";
code[9] = "spacehog";
code[11] = "spikecity";
code[14] = "www.neokolor.com";
code[16] = "suicide";
code[19] = "alice";
code[21] = "theboss";
code[22] = "iceworld";
code[23] = "joecool";
code[24] = "tenderly";
code[25] = "penguin";
code[26] = "nevermind";
code[27] = "experts";
code[28] = "outofmind";
code[29] = "trickydisco";
code[30] = "nervous";
code[31] = "jazzthing";
code[32] = "tension";
code[33] = "norman";
code[34] = "ireland";
code[35] = "wisdom";
code[36] = "elvis42";
code[37] = "secret";
code[38] = "teatime";
code[39] = "hardone";
code[40] = "twoleft";
code[41] = "semifinal";
code[42] = "bigboss";
code[43] = "congratulations";